package com.ocm.core.factory;

import com.ocm.core.associationType.service.impl.OneToMultipleDescOrderationServiceImpl;
import com.ocm.core.associationType.service.impl.OneToMultipleServiceImpl;
import com.ocm.core.associationType.service.impl.OneToOneServiceImpl;
import com.ocm.core.service.AssociationTypeService;
import com.ocm.core.service.JCRSecurityService;
import com.ocm.core.service.jackrabbit.JCRSecurityServiceImpl;

public class OCMFactoryImpl implements OCMFactory {

   public AssociationTypeService getOneToOne(){
      AssociationTypeService associationTypeService = new OneToOneServiceImpl();
      return associationTypeService;
   }
   
   public AssociationTypeService getOneToMultiple(){
      AssociationTypeService associationTypeService = new OneToMultipleServiceImpl();
      return associationTypeService;
   }
   
   public AssociationTypeService getOneToMultipleDescOrderation(){
      AssociationTypeService associationTypeService = new OneToMultipleDescOrderationServiceImpl();
      return associationTypeService;
   }

   public JCRSecurityService getJCRSecurityService() {
      JCRSecurityService jcrSecurityService = new JCRSecurityServiceImpl();
      return jcrSecurityService;
   }
}
